package com.ruoyi.production.mapper.graftinglabel;

import java.util.List;
import com.ruoyi.common.annotation.PropertyInject;
import com.ruoyi.common.enums.InjectType;
import com.ruoyi.production.domain.graftinglabel.GraftinglabelApply;

/**
 * 嫁接签申请Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface GraftinglabelApplyMapper
{
    /**
     * 查询嫁接签申请
     *
     * @param graftinglabelApplyId 嫁接签申请ID
     * @return 嫁接签申请
     */
    public GraftinglabelApply selectGraftinglabelApplyById(Long graftinglabelApplyId);

    /**
     * 查询嫁接签申请列表
     *
     * @param graftinglabelApply 嫁接签申请
     * @return 嫁接签申请集合
     */
    public List<GraftinglabelApply> selectGraftinglabelApplyList(GraftinglabelApply graftinglabelApply);

    /**
     * 新增嫁接签申请
     *
     * @param graftinglabelApply 嫁接签申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Insert)
    public int insertGraftinglabelApply(GraftinglabelApply graftinglabelApply);

    /**
     * 修改嫁接签申请
     *
     * @param graftinglabelApply 嫁接签申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Update)
    public int updateGraftinglabelApply(GraftinglabelApply graftinglabelApply);

    /**
     * 删除嫁接签申请
     *
     * @param graftinglabelApplyId 嫁接签申请ID
     * @return 结果
     */
    public int deleteGraftinglabelApplyById(Long graftinglabelApplyId);

    /**
     * 批量删除嫁接签申请
     *
     * @param graftinglabelApplyIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGraftinglabelApplyByIds(Long[] graftinglabelApplyIds);
}
